package com.roads.agency.domain;

import com.roads.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 代建计量-施工期对象 agency_meterage_detail_construction
 *
 * @author nhp
 * @date 2023-08-09
 */
public class AgencyMeterageDetailConstruction extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Long id;

    /**
     * 主表ID
     */
    private Long masterId;

    /**
     * 标段清单编码
     */
    private String institutionBoqCode;

    /**
     * 清单编码
     */
    private String boqCode;

    /**
     * 清单名称
     */
    private String boqName;

    /**
     * 祖籍列表
     */
    private String ancestors;

    /**
     * 显示排序
     */
    private Double orderNum;

    /**
     * 单位
     */
    private String unit;

    /**
     * 合同折旧费
     */
    private BigDecimal contractDepreciationTotal;

    /**
     * 合同数量
     */
    private BigDecimal contractPersonAmount;

    /**
     * 合同期数
     */
    private BigDecimal contractPeriodAmount;

    /**
     * 合同单价
     */
    private BigDecimal contractPrice;

    /**
     * 合同金额
     */
    private BigDecimal contractTotal;

    /**
     * 数量
     */
    private BigDecimal personAmount;

    /**
     * 期数
     */
    private BigDecimal periodAmount;

    /**
     * 金额
     */
    private BigDecimal total;

    /**
     * 是否修改 0 未修改 1 已修改
     */
    private String isEdit;

    /**
     * 是否完成 0 未完成 1 已完成
     */
    private String complete;

    /**
     * 附件UUID
     */
    private String annexUuid;

    /**
     * 部门
     */
    private Long dept;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 用户
     */
    private String user;

    /**
     * 用户名称
     */
    private String userName;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public Long getMasterId() {
        return masterId;
    }

    public void setMasterId(Long masterId) {
        this.masterId = masterId;
    }

    public void setInstitutionBoqCode(String institutionBoqCode) {
        this.institutionBoqCode = institutionBoqCode;
    }

    public String getInstitutionBoqCode() {
        return institutionBoqCode;
    }

    public void setBoqCode(String boqCode) {
        this.boqCode = boqCode;
    }

    public String getBoqCode() {
        return boqCode;
    }

    public void setBoqName(String boqName) {
        this.boqName = boqName;
    }

    public String getBoqName() {
        return boqName;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setOrderNum(Double orderNum) {
        this.orderNum = orderNum;
    }

    public Double getOrderNum() {
        return orderNum;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setContractDepreciationTotal(BigDecimal contractDepreciationTotal) {
        this.contractDepreciationTotal = contractDepreciationTotal;
    }

    public BigDecimal getContractDepreciationTotal() {
        return contractDepreciationTotal;
    }

    public void setContractPersonAmount(BigDecimal contractPersonAmount) {
        this.contractPersonAmount = contractPersonAmount;
    }

    public BigDecimal getContractPersonAmount() {
        return contractPersonAmount;
    }

    public void setContractPeriodAmount(BigDecimal contractPeriodAmount) {
        this.contractPeriodAmount = contractPeriodAmount;
    }

    public BigDecimal getContractPeriodAmount() {
        return contractPeriodAmount;
    }

    public void setContractPrice(BigDecimal contractPrice) {
        this.contractPrice = contractPrice;
    }

    public BigDecimal getContractPrice() {
        return contractPrice;
    }

    public void setContractTotal(BigDecimal contractTotal) {
        this.contractTotal = contractTotal;
    }

    public BigDecimal getContractTotal() {
        return contractTotal;
    }

    public void setPersonAmount(BigDecimal personAmount) {
        this.personAmount = personAmount;
    }

    public BigDecimal getPersonAmount() {
        return personAmount;
    }

    public void setPeriodAmount(BigDecimal periodAmount) {
        this.periodAmount = periodAmount;
    }

    public BigDecimal getPeriodAmount() {
        return periodAmount;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setIsEdit(String isEdit) {
        this.isEdit = isEdit;
    }

    public String getIsEdit() {
        return isEdit;
    }

    public void setComplete(String complete) {
        this.complete = complete;
    }

    public String getComplete() {
        return complete;
    }

    public void setAnnexUuid(String annexUuid) {
        this.annexUuid = annexUuid;
    }

    public String getAnnexUuid() {
        return annexUuid;
    }

    public void setDept(Long dept) {
        this.dept = dept;
    }

    public Long getDept() {
        return dept;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getUser() {
        return user;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("institutionBoqCode", getInstitutionBoqCode())
                .append("boqCode", getBoqCode())
                .append("boqName", getBoqName())
                .append("ancestors", getAncestors())
                .append("orderNum", getOrderNum())
                .append("unit", getUnit())
                .append("contractDepreciationTotal", getContractDepreciationTotal())
                .append("contractPersonAmount", getContractPersonAmount())
                .append("contractPeriodAmount", getContractPeriodAmount())
                .append("contractPrice", getContractPrice())
                .append("contractTotal", getContractTotal())
                .append("personAmount", getPersonAmount())
                .append("periodAmount", getPeriodAmount())
                .append("total", getTotal())
                .append("isEdit", getIsEdit())
                .append("complete", getComplete())
                .append("annexUuid", getAnnexUuid())
                .append("dept", getDept())
                .append("deptName", getDeptName())
                .append("user", getUser())
                .append("userName", getUserName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

}
